import request from '@/utils/request'

const musicSettingApi = {

    /**
     * 音乐配置详情
     */
    detail(): Promise<any> {
        return request.get({
            url: '/apply/music/setting/detail'
        })
    },

    /**
     * 音乐配置保存
     */
    save(params: {
        suno: any
    }): Promise<any> {
        return request.post({
            url: '/apply/music/setting/save',
            params
        })
    }
}

export default musicSettingApi
